    <select id="obl_id" name="obl_id">
     <?php foreach ($region as $i): ?>
    <option  value="<?php echo $i['code']; ?>"><?php echo $i['region']; ?></option>
    <?php endforeach; ?>
    </select>
    <button onclick="obl_id()">
        Выбрать
    </button>
